-
Home
-
Groundhogg — CRM, Newsletters, and Marketing Automation
-
4.2.5.3 (latest)
-
Code
-
Classes
- Preferences
| Total Complexity |
70 |
| Dependencies |
5 |
| Dependents |
33 |
| Total lines |
473 |
| Lines of code |
241 |
| Logical lines of code |
127 |
| Comment lines |
149 |
| Methods |
22 |
| Properties |
0 |
Methods 22
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_optin_status_text() |
B |
45 |
17 |
37 |
| is_marketable() |
B |
46 |
17 |
35 |
| current_contact_can_modify_preferences() |
S |
56 |
4 |
18 |
| template_include() |
S |
59 |
4 |
15 |
| string_to_preference() |
S |
49 |
2 |
33 |
| soft_bounced() |
S |
57 |
3 |
16 |
| is_in_grace_period() |
S |
60 |
3 |
13 |
| sanitize() |
S |
77 |
3 |
3 |
| set_temp_preferences_permissions_cookie() |
S |
63 |
2 |
10 |
| is_gdpr_strict() |
S |
79 |
2 |
3 |
| get_grace_period_cutoff_date() |
S |
66 |
2 |
8 |
| get_preference_names() |
S |
59 |
1 |
13 |
| __construct() |
S |
72 |
1 |
5 |
| add_rewrite_rules() |
S |
75 |
1 |
4 |
| add_query_vars() |
S |
74 |
1 |
5 |
| get_preference_pretty_name() |
S |
78 |
1 |
3 |
| is_valid() |
S |
78 |
1 |
3 |
| is_gdpr_enabled() |
S |
80 |
1 |
3 |
| is_confirmation_strict() |
S |
80 |
1 |
3 |
| get_grace_period() |
S |
79 |
1 |
3 |
| complained() |
S |
74 |
1 |
4 |
| bounced() |
S |
74 |
1 |
4 |